package cn.antho.pet.service;

import cn.antho.basic.util.PageList;
import cn.antho.pet.domain.Pet;
import cn.antho.basic.service.IBaseService;
import cn.antho.pet.query.PetQuery;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author antho
 * @since 2022-10-28
 */
public interface IPetService extends IBaseService<Pet> {

    void onsale(List<Long> ids, HttpServletRequest request) throws Exception;

    void offsale(List<Long> ids);

    Pet getPetDetail(Long id);

    void add(Pet pet, HttpServletRequest request);
}
